<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo ($name); ?></title>
<script type="text/javascript" src="__APP__/statics/jquery.1.4.2.js"></script>
<script type="text/javascript" src="__APP__/statics/js/catelist.js"></script>
<style type="text/css">
*{margin:0;padding:0;list-style-type:none;}
a,img{border:0;}
body{font-family:"微软雅黑",Arial,Lucida,Verdana,Helvetica,sans-serif;font-size:12px;color:#333;line-height:150%;background:#fff;}
a:link,a:visited{color:#333;text-decoration:none;}
a:hover{color:#317ee7;}
a:active{color:#900;}
/* top */
.top{width:100%;height:25px;line-height:25px;background:url(__APP__/statics/topbg.gif);}
.top2{width:1200px;margin:0 auto;}
.top2-left{float:left;cursor:pointer}
.top2-right{float:right;margin-left:10px;}
/* logo */
.logo{width:1200px;height:80px;margin:0 auto;margin-top:10px;}
.logo span{display:block;float:left;}


.search{display:block;background:#317ee7;width:510px;height:35px;line-height:35px;margin:0 auto;margin-top:15px;float:left;vertical-align:middle}
.search ul{display:block;float:left;}

/* nav */
.category-content{height:35px;position:relative;margin:0 auto;margin-top:10px;z-index:113;background:#317ee7;font-family:"微软雅黑"}
.category-content span{display:block;float:left;text-align:center;width:120px;line-height:35px;font-size:17px;color:#fff}
.category-content span:hover{background:#ffba00}
.allgoods{height:35px;line-height:35px;border:0px;text-align:center;background:#317ee7;color:#fff;font-size:17px}
.category-content .category{width:1200px;position:absolute;top:0px;z-index:113;width:199px;+height:456px;border:1px solid #dadad9;border-top:none;background:#fefefe;box-shadow:1px 1px 1px #dedede;}
.category-content .category-list li{height:72px;border:2px solid #fff;border-right:none;position:relative;z-index:113; vertical-align:bottom;}
.category-content .category-list a:hover{text-decoration:none;color:#D2364C;}
.category-content .category-info{padding-left:12px;}
.category-content .category-name{overflow:hidden;position:relative;padding-top:10px;font:600 16px/30px "宋体";}
.category-content .category-name i{position:absolute;top:13px;width:25px;height:25px;-top:6px;}
.category-content .category-name b{margin-left:4px;font:400 12px/28px "宋体";}
.category-content .category-name a{color:#4c4c4c;}
.category-content .category-name .ml-22{margin-left:35px;}
.category-content .list-nz i{background-position:0 -200px;}
.category-content .list-nanz i{background-position:-23px -200px;}
.category-content .list-tz i{background-position:-48px -200px;}
.category-content .list-ny i{background-position:-72px -200px;}
.category-content .list-xb i{background-position:-96px -200px;}
.category-content .list-xl i{background-position:0 -225px;}
.category-content .c-category-list{font:400 12px/24px "宋体";}
.category-content .c-category-list a{margin-right:8px;color:#626262;}
.category-content .category-info{position:relative;height:72px;overflow:hidden;}
.category-content .category-info em{position:absolute;top:16px;right:10px;width:13px;height:13px;color:#9b9b9b;}
.category-content .category .hover{box-shadow:0px 2px 3px #ccc;margin-left:-1px;padding-left:1px;z-index:999;} 
.category-content .hover .category-info{border:none;text-decoration:none;background:#fff;}
.category-content .menu-item{display:none;position:absolute;left:196px;z-index:11; width:500px;padding:0 0 0 2px;background:#fff;border:none;box-shadow:0px 2px 3px #dedede; border-top:1px solid #bbb9;zoom:1;-ms-filter:"progid:DXImageTransform.Microsoft.Shadow(color=#dddddd,direction=135,strength=4)";*filter:progid:DXImageTransform.Microsoft.Shadow(color=#dddddd,direction=135,strength=4);}
.category-content .menu-item .area-in{position:relative; z-index:1; }
.category-content .menu-item .area-bg{padding:10px 0 10px 20px;}
.category-content .menu-in{display:none;}
.category-content .category-list li.hover .category-info{z-index:999;}
.category-list li.hover .menu-in{border:2px solid #dedede;}
.category-list li.hover{border:2px solid #dedede;border-right:none;}

.c-category-list{width:160px;margin-right:1px;padding-bottom:10px;border-bottom:1px solid #f4f4f4;zoom:1;overflow:hidden;height:20px;}
.area-bg dl{float:left;height:30px;width:70px;font:400 12px/24px "宋体";}
</style>
</head>

<body>
<div class="top">
   <div class="top2">
    <span class="top2-left" id="addto">加入收藏夹</span>
	<span class="top2-right"><a href="__APP__/">商城首页</a></span>
	<span class="top2-right"><a href="__GROUP__/Help">客户服务</a></span>
	<span class="top2-right"><a href="__APP__/Member/trade">我的订单</a></span>
	<span class="top2-right">[<a href="__APP__/Member/reg">免费注册</a>]</span>
	<?php if($user == ''): ?><span class="top2-right">
	[<a href="__APP__/Member/login">登录</a>]</span>
	<span class="top2-right"><a href="__APP__/Member/qqlogin" target="_blank"><img src="__APP__/statics/qq_login.png"></a></span>
	<?php else: ?>
	<span class="top2-right">
	<a href="__APP__/Member"><span style="color:#cc0000"><?php echo ($user); ?></span></a>,[<a href="__APP__/Member/loginout">退出</a>]</span><?php endif; ?>
	<span class="top2-right">欢迎来到蚂蚁街！</span>
   </div>
</div>
<div class="top-ad"></div>
<div class="logo">
   <span style="width:350px;"><a href="__APP__/"><img src="__APP__/statics/logo-201305.png"></a></span>
<form method="get" action="__GROUP__/List/search">
   <span class="search">
        <ul style="width:430px;height:31px;line-height:31px;padding:3px">
	       <input name="keyword" type="text" style="height:18px;margin-top:0px;padding:5px;border:0px;" size="65">
	   </ul>
	   <ul class="sbox" style="float:left;width:70px;text-align:center;">
	   <input type="image" src="__APP__/statics/search.jpg" height="31" width="59px"></ul>

	   <ul style="float:left;width:200px;margin-top:-10px"></ul>
   </span>
</form>
   <span style="display:block;float:right;margin-top:15px;"><a href='http://localhost/eshop/Help/page/?type=ship&amp;id=2'><img src='__APP__/./ad/SearchR/520a400e754be.jpg' ></a></span>
</div>

<div style="clear:both"></div>


<!--导航菜单-->
<div class="category-content">
	<div style="width:1200px;margin:0 auto">
			<div>
				<span class="all-goods" style="width:200px">全部商品</span>
				<a href="__APP__/"><span class="all-goods" <?php if($current_class == 1): ?>style="background:#ffba00"<?php endif; ?>>首页</span></a>
				<a href="__APP__/Wshop"><span class="all-goods" <?php if($current_class == 2): ?>style="background:#ffba00"<?php endif; ?>>品牌街</span></a>
				<a href="__APP__/Market"><span class="all-goods" <?php if($current_class == 3): ?>style="background:#ffba00"<?php endif; ?>>蚂蚁超市</span></a>
				<a href="__APP__/Fruit"><span class="all-goods" <?php if($current_class == 4): ?>style="background:#ffba00"<?php endif; ?>>蚂蚁预售</span></a>
				<a href="__APP__/Cart/show.html"><span class="all-goods" style="float:right;width:200px"><img src="__APP__/statics/cart.png">购物车（<i id="cart_num"><?php echo ($cart_num); ?></i>）</span></a>
			</div>

			<div class="category">
			    <ul class="allgoods">全部分类</ul>
				<ul class="category-list" style="display:none">
<?php if(is_array($cat)): $i = 0; $__LIST__ = $cat;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$cat): $mod = ($i % 2 );++$i;?><li class="js_toggle">
						<div class="category-info list-xl">
							<h3 class="category-name">
								<i <?php if($cat["icon"] != ''): ?>style="background:url(__APP__/statics/icons/cate/<?php echo ($cat["icon"]); ?>)"<?php else: ?>style="background:url(__APP__/statics/icons/cate/c.gif)"<?php endif; ?>></i>
								<a href="__APP__/c/<?php echo ($cat["cat_id"]); ?>" class="ml-22"><?php echo ($cat["cat_name"]); ?></a>
							</h3>
							<p class="c-category-list">
			<?php if(is_array($cat[rec])): $i = 0; $__LIST__ = $cat[rec];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$rec): $mod = ($i % 2 );++$i;?><a href="__APP__/c/<?php echo ($rec["cat_id"]); ?>"><?php echo ($rec["cat_name"]); ?></a><?php endforeach; endif; else: echo "" ;endif; ?>
							</p>
							<em>&gt;</em>
						</div>
						<!--弹出右侧-->
						<div class="menu-item menu-in">
							<div class="area-bg">
			<?php if(is_array($cat[son])): $i = 0; $__LIST__ = $cat[son];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$son): $mod = ($i % 2 );++$i;?><dl><a href="__APP__/c/<?php echo ($son["cat_id"]); ?>"><?php echo ($son["cat_name"]); ?></a></dl><?php endforeach; endif; else: echo "" ;endif; ?>
							</div>
						</div>
						<!--弹出右侧-->
					</li><?php endforeach; endif; else: echo "" ;endif; ?>

				</ul>
			</div>
	</div>
</div>

<script type="text/javascript"> 
$(".category").mouseover(function(){
	$(".category-list").show();
})
$(".category").mouseout(function(){
	$(".category-list").hide();
})
</script>

<div style="width:1000px;margin:0 auto;text-align:center"><img src="__APP__/statics/no_goods.jpg"></div>
<div style="width:1200px;margin:0 auto;margin-top:20px;height:170px;border-bottom:1px solid #dddddd;border-top:1px solid #dddddd">
   <div style="padding:10px;float:left;margin-left:20px;width:220px">
     <div style="width:180px;float:right">
		 <li style="color:#666666;font-size:15px;font-weight:bold">购物指南</li>
		 <li style="margin-top:10px"><a href="__APP__/Help/page/?type=zhinan&id=5" target="_blank">新手上路</a></li>
		 <li><a href="__APP__/Help/page/?type=zhinan&id=5" target="_blank">顾客必读</a></li>
		 <li><a href="__APP__/Help/page/?type=zhinan&id=5" target="_blank">联系客服</a></li>
		 <li><a href="__APP__/Help/page/?type=zhinan&id=5" target="_blank">常见问题</a></li>
		 <li><a href="__APP__/Help/page/?type=zhinan&id=5" target="_blank">购物流程</a></li>
	  </div>
	  <div style="width:37px;text-align:right;float:right"><img src="__APP__/statics/bottom/1.jpg"></div>
   </div>
   <div style="padding:10px;float:left;width:220px">
     <div style="width:180px;float:right">
		 <li style="color:#666666;font-size:15px;font-weight:bold">配送方式</li>
		 <li style="margin-top:10px"><a href="__APP__/Help/page/?type=zhinan&id=5" target="_blank">送货上门</a></li>
		 <li><a href="__APP__/Help/page/?type=zhinan&id=5" target="_blank">配送时效</a></li>
		 <li><a href="__APP__/Help/page/?type=zhinan&id=5" target="_blank">送货时间</a></li>
		 <li><a href="__APP__/Help/page/?type=zhinan&id=5" target="_blank">物流费用</a></li>
	 </div>
	 <div style="width:37px;text-align:right;float:right"><img src="__APP__/statics/bottom/2.jpg"></div>
   </div>
   <div style="padding:10px;float:left;width:220px">
      <div style="width:180px;float:right">
		 <li style="color:#666666;font-size:15px;font-weight:bold">支付方式</li>
		 <li style="margin-top:10px"><a href="__APP__/Help/page/?type=zhinan&id=5" target="_blank">货到付款</a></li>
		 <li><a href="__APP__/Help/page/?type=zhinan&id=5" target="_blank">网银支付</a></li>
		 <li><a href="__APP__/Help/page/?type=zhinan&id=5" target="_blank">礼品卡支付</a></li>

	  </div>
	  <div style="width:37px;text-align:right;float:right"><img src="__APP__/statics/bottom/3.jpg"></div>
   </div>
   <div style="padding:10px;float:left;width:220px">
      <div style="width:180px;float:right">
		 <li style="color:#666666;font-size:15px;font-weight:bold">特色服务</li>
		 <li style="margin-top:10px"><a href="__APP__/Help/page/?type=zhinan&id=5" target="_blank">售后服务</a></li>
		 <li><a href="__APP__/Help/page/?type=zhinan&id=5" target="_blank">质量保障</a></li>
		 <li><a href="__APP__/Help/page/?type=zhinan&id=5" target="_blank">价格优势</a></li>
	  </div>
	  <div style="width:37px;text-align:right;float:right"><img src="__APP__/statics/bottom/4.jpg"></div>
   </div>
   <div style="padding:10px;float:left;width:200px">
     <li style="color:#666666;font-size:15px;font-weight:bold">微信扫一扫</li>
     <li style="margin-top:10px;border:1px solid #dddddd;width:100px"><img src="__APP__/statics/wechat.jpg" width="100px"></li>
   </div>
</div>

<div style="text-align:center;width:1200px;margin:0 auto;;margin-top:10px">
<?php echo C('BOTTOM'); ?>
<br><br>
<a href="http://webscan.360.cn/index/checkwebsite/url/www.mayijie.com" target="_blank"><img height="41" src="http://img.webscan.360.cn/status/pai/hash/55b4861c61020a4e248b99462bba432c"/></a>
<img src="__APP__/statics/chengxin.png"><br>
<script type="text/javascript" src="http://tajs.qq.com/stats?sId=26985878" charset="UTF-8"></script>
</div>

<style>
#floatPanel .ctrolPanel{width:36px;height:166px;background:#fff url('__APP__/statics/icons/kefu_bg.gif') no-repeat left top;border:solid 1px #ddd;position:fixed;right:25px;top:50%;overflow:hidden;z-index:10000; _position:absolute; /* for IE6 */_top:expression(documentElement.scrollTop + 300);}
#floatPanel .ctrolPanel a{width:34px;font-size:12px;color:#ff6600;letter-spacing:1px;text-align:center;overflow:hidden;}
#floatPanel .ctrolPanel .arrow{height:29px;line-height:28px;display:block;margin:1px auto;}
#floatPanel .ctrolPanel .arrow span{display:none;}
#floatPanel .ctrolPanel .arrow:hover{background:#f4f4f4;}
#floatPanel .ctrolPanel .arrow:hover span{display:block;}
#floatPanel .ctrolPanel .contact{height:60px;display:block;margin:2px auto;}
#floatPanel .ctrolPanel .contact span{line-height:90px;}
#floatPanel .ctrolPanel .qrcode{height:40px;display:block;margin:2px auto;}
#floatPanel .ctrolPanel .qrcode span{display:none;}

#floatPanel .popPanel{width:230px;height:242px;position:fixed;right:70px;top:50%;z-index:10000;overflow:hidden;display:none;_position:absolute; /* for IE6 */_top:expression(documentElement.scrollTop + 300); }
#floatPanel .popPanel .popPanel-inner{width:230px;height:242px;position:relative;overflow:hidden;}
#floatPanel .popPanel .popPanel-inner .arrowPanel{width:10px;height:240px;position:absolute;right:1px;top:102px;}
#floatPanel .popPanel .popPanel-inner .arrowPanel .arrow01{width:0;height:0;font-size:0;line-height:0;border-top:10px solid transparent;_border-top:10px solid black;_filter:chroma(color=black);border-right:10px solid transparent;_border-right:10px solid black;_filter:chroma(color=black);border-bottom:10px solid transparent;_border-bottom:10px solid black;_filter:chroma(color=black);border-left:10px solid #ddd;position:absolute;bottom:0;position:absolute;left:2px;top:0;}
#floatPanel .popPanel .popPanel-inner .arrowPanel .arrow02{width:0;height:0;font-size:0;line-height:0;border-top:10px solid transparent;_border-top:10px solid black;_filter:chroma(color=black);border-right:10px solid transparent;_border-right:10px solid black;_filter:chroma(color=black);border-bottom:10px solid transparent;_border-bottom:10px solid black;_filter:chroma(color=black);border-left:10px solid #fff;position:absolute;bottom:0;position:absolute;left:0;top:0;}
#floatPanel .popPanel .popPanel-inner .qrcodePanel{width:220px;height:240px;text-align:center;background:#fff;border:solid 1px #ddd;position:absolute;left:0;top:0;overflow:hidden;}
#floatPanel .popPanel .popPanel-inner .qrcodePanel img{width:200px;height:200px;border:none;padding:10px 10px 5px 10px;}
#floatPanel .popPanel .popPanel-inner .qrcodePanel span{font-size:12px;color:#666;line-height:24px;letter-spacing:1px;}
</style>
<div id="floatPanel">

	<div class="ctrolPanel">
		<a class="arrow" href="#"><span>顶部</span></a>
		<a class="contact" href="http://wpa.qq.com/msgrd?V=1&Uin=<?php echo C('KEFU_QQ'); ?>&Site=<?php echo C('WEB_NAME'); ?>&Menu=yes" 
target="_blank"><span>客服</span></a>
		<a class="qrcode" href="#"><span>微信二维码</span></a>
		<a class="arrow" href="#"><span>底部</span></a>
	</div>
	
	<div class="popPanel">
		<div class="popPanel-inner">
			<div class="qrcodePanel"><img src="__APP__/statics/wechat.jpg" /><span>微信扫描二维码关注“蚂蚁街”</span></div>
			<div class="arrowPanel">
				<div class="arrow01"></div>
				<div class="arrow02"></div>
			</div>
		</div>
	</div>
	
</div>

<script language="javascript">
   $("#addto").click(function(){
      var ctrl = (navigator.userAgent.toLowerCase()).indexOf('mac') != -1 ? 'Command/Cmd':'Ctrl';
   if(document.all)
   {
      window.external.addFavorite(window.location,document.title);
   }
   else if(window.sidebar)
   { 
       window.sidebar.addPanel(document.title,window.location);
   }
   else{
       alert('添加失败，请用Ctrl+D进行添加');
   }
   });
</script>
<script type="text/javascript">
$(function(){
	
	// 页面浮动面板
	$("#floatPanel > .ctrolPanel > a.arrow").eq(0).click(function(){
		$("html,body").animate({scrollTop :0}, 800);
		return false;
	});
	$("#floatPanel > .ctrolPanel > a.arrow").eq(1).click(function(){
		$("html,body").animate({scrollTop : $(document).height()}, 800);
		return false;
	});

	var objPopPanel = $("#floatPanel > .popPanel");	
	var w = objPopPanel.outerWidth();
	
	$("#floatPanel > .ctrolPanel > a.qrcode").bind({mouseover:function(){
		objPopPanel.css("width","0px").show();
		objPopPanel.animate({"width" : w + "px"},300);
		return false;
	},mouseout : function(){
			objPopPanel.animate({"width" : "0px"},300);
			return false;
			objPopPanel.css("width",w + "px");
		}	
	});
	
});
</script>
</body>
</html>